package org.polyforms.repository.executor;

/**
 * A {@link Executor} that conditionally executes base on declaring class of method.
 * 
 * @author Kuisong Tong
 * @since 1.0
 */
public interface ClassBasedExecutor extends Executor {
    /**
     * Get the interface class which declares methods executed by this executor.
     * 
     * @return Class which methods executed by this executor declare in
     */
    Class<?> getMatchedInterface();
}
